package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "sys_customer_credit_transaction")
public class SysCustomerCreditTransaction {
    @Id
    @Column(name = "sys_customer_credit_transaction_id")
    private Integer sysCustomerCreditTransactionId;

    @Column(name = "effective_time")
    private Date effectiveTime;
    @Column(name = "customer_id")
    private Integer customerId;

    private Integer quota;

    @Column(name = "account_period")
    private Integer accountPeriod;

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    /**
     * 0表示未执行 1表示以及执行
     */
    private Integer status;

    /**
     * @return sys_customer_credit_transaction_id
     */
    public Integer getSysCustomerCreditTransactionId() {
        return sysCustomerCreditTransactionId;
    }

    /**
     * @param sysCustomerCreditTransactionId
     */
    public void setSysCustomerCreditTransactionId(Integer sysCustomerCreditTransactionId) {
        this.sysCustomerCreditTransactionId = sysCustomerCreditTransactionId;
    }

    /**
     * @return effective_time
     */
    public Date getEffectiveTime() {
        return effectiveTime;
    }

    /**
     * @param effectiveTime
     */
    public void setEffectiveTime(Date effectiveTime) {
        this.effectiveTime = effectiveTime;
    }

    /**
     * @return quota
     */
    public Integer getQuota() {
        return quota;
    }

    /**
     * @param quota
     */
    public void setQuota(Integer quota) {
        this.quota = quota;
    }

    /**
     * @return account_period
     */
    public Integer getAccountPeriod() {
        return accountPeriod;
    }

    /**
     * @param accountPeriod
     */
    public void setAccountPeriod(Integer accountPeriod) {
        this.accountPeriod = accountPeriod;
    }

    /**
     * 获取0表示未执行 1表示以及执行
     *
     * @return status - 0表示未执行 1表示以及执行
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置0表示未执行 1表示以及执行
     *
     * @param status 0表示未执行 1表示以及执行
     */
    public void setStatus(Integer status) {
        this.status = status;
    }
}